package com.ficus.road.maintain.core.model.zh;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author xiawen yang
 * @date 2022/4/11 下午8:40
 */
@Data
public class MileageZH {

    @JsonProperty("高速公路")
    private String highway;

    @JsonProperty("一级公路")
    private String firstLevel;

    @JsonProperty("二级公路")
    private String secondLevel;

    @JsonProperty("三级公路")
    private String thirdLevel;

    @JsonProperty("城市快速路")
    private String freeway;

    @JsonProperty("城市主干道")
    private String mainRoad;

    @JsonProperty("城市次干道")
    private String secondaryRoad;

    @JsonProperty("城市支路")
    private String branchRoad;

    @JsonProperty("公路电子化")
    private String highwayElectronic;

    @JsonProperty("城市电子化")
    private String cityElectronic;

    @JsonProperty("公路总里程数")
    private String highwayMileage;

    @JsonProperty("城市总里程数")
    private String cityMileage;

    @JsonProperty("国道")
    private String state;

    @JsonProperty("省道")
    private String provincial;

    @JsonProperty("县道")
    private String county;

    /**
     * 公路
     */
    private List<RoadMileageaZH> roadGls;
    /**
     * 城市道路
     */
    private List<RoadMileageaZH> roadCdzx;

    @Data
    public static class RoadMileageaZH {
        private String departname;

        private Double startlocation;

        private String startlocname;

        private Double endlocation;

        private String endlocname;

        private String locationdesc;

        private String unitname;

        private String roadid;

        private String roadname;

        private Double mileage;
    }
}
